summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(system)/approval/line/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(system)/approval/line/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(system)/approval/line/page.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(system)/approval/line/page.tsx b/app/[lng]/evcp/(evcp)/(system)/approval/line/page.tsx
index 38b43680..2e96b434 100644
--- a/app/[lng]/evcp/(evcp)/(system)/approval/line/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(system)/approval/line/page.tsx
@@ -15,10 +15,11 @@ export const metadata: Metadata = {
};
interface PageProps {
- searchParams: SearchParams;
+ searchParams: Promise<SearchParams>;
}
-export default async function ApprovalLinePage({ searchParams }: PageProps) {
+export default async function ApprovalLinePage(props: PageProps) {
+ const searchParams = await props.searchParams;
const search = SearchParamsApprovalLineCache.parse(searchParams);
// getValidFilters 반환값이 undefined 인 경우 폴백
const validFilters = getValidFilters(search.filters) ?? [];